home *** CD-ROM | disk | FTP | other *** search
-
-
-
- UUUUSSSSEEEEMMMMAAAA((((7777MMMM)))) UUUUSSSSEEEEMMMMAAAA((((7777MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- usema, usemaclone - software semaphore driver
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The usema driver manages the allocation and operation of counting
- semaphores that are used as the basis of spinlocks and semaphores.
-
- The _u_s_e_m_a_c_l_o_n_e device allocates a new semaphore device, and returns a
- file handle to it. Other processes can attach to that semaphore using an
- _i_o_c_t_l operation on the _u_s_e_m_a device. The driver provides atomic blocking
- and unblocking services. Blocking can be either interruptible or not.
- The driver also provides for asynchronous blocking and later polling to
- inquire whether a given semaphore is available. This polling is
- available through the standard _p_o_l_l(2) and _s_e_l_e_c_t(2) mechanisms.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- The _u_s_e_m_a driver is intended to be used only by the standard library
- spinlock and semaphore routines. Client programs should use these
- routines, rather than using _u_s_e_m_a directly.
-
- FFFFIIIILLLLEEEESSSS
- /dev/usema
-
- /dev/usemaclone
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- poll(2), select(2), usinit(3P), usnewlock(3P), usnewsema(3P).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-